<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var num1 = 10;
			
			if(num1%2==0){
				console.log("偶数");
			}else{
				console.log("奇数");
			}
		</script>
	</body>
</html>
